//
//  UserInfoClass.h
//  TelemedCloud
//
//  Created by YT on 2018/5/8.
//  Copyright © 2018年 YT. All rights reserved.
//

#import <JSONModel/JSONModel.h>

@interface UserInfoClass : JSONModel

//FIXME:-待完成
@property (nonatomic , assign, getter=isLogin) BOOL login;
@property (nonatomic , assign) NSInteger   mid;
@property (nonatomic , assign) NSInteger   isFamily;
@property (nonatomic , assign) NSInteger  sexId;
@property (nonatomic , assign) NSInteger  userId;
@property (nonatomic , assign) NSInteger imageId;
@property (nonatomic , assign) NSInteger comFlag;
@property (nonatomic , assign) NSInteger meetingType;
@property (nonatomic , assign) NSInteger  pid;
@property (nonatomic , copy) NSString   * imUserSign;
@property (nonatomic , copy) NSString   * meetingNo;
@property (nonatomic , copy) NSString   * meetingPw;
@property (nonatomic , copy) NSString   * memName;
@property (nonatomic , copy) NSString   * imId;
@property (nonatomic , copy) NSString   * sex;
@property (nonatomic , copy) NSString   * userIdSign;
@property (nonatomic , copy) NSString   * loginUser;

+ (instancetype)share;

/**
 * 用户登录 登录IM 存储用户信息
 */
- (void)loginWithInfo:(NSDictionary*)info;

/**
 *  退出登录退出IM 清除本地用户信息
 */
- (void)clearUserInfo;

@end
